package com.xh.jf_blog.service;

import com.xh.jf_blog.bean.Banner;
import com.xh.jf_blog.common.util.R;

import java.util.List;

/**
 * @Author PangJunjie
 * @Date 2024/2/1/001
 */
public interface BannerService {
    R getPage(int page, int limit, Banner banner);

    Banner getById(int id);

    void saveOrUpdate(Banner banner);

    void deleteById(int id);

    List<Banner> getBannerList();
}
